package com.ddm.service.webService;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ddm.entity.webEntity.Technique;

import java.util.List;

public interface TechniqueService extends IService<Technique> {


    Boolean add(Technique technique);
    Boolean update(Technique technique);
    Boolean delete(Integer id);
    Technique getTechniqueById(Integer id);
    List<Technique> getAllTechniques();

    IPage<Technique> getTechniquesByPage(Page<Technique> page, String key,String type);

    IPage<Technique> getTechniqueByCategoryIds(List<Integer> ids, Page<Technique> page);

}